<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> 
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
	<c:choose>
	<c:when test="${not empty proList}">
	<c:forEach items="${proList}" var="var" varStatus="vs">
		<li pdid="${var.ID}" onclick="jumpdetail('${var.ID}');">
			<div class="left">
				<img class="scrollLoading" src="<%=basePath %>uploadFiles/uploadImgs/mobile/${var.PROD_ICON}" />
				<div class="comment-label">
					<h5 class="content-title"> ${var.PROD_NAME } </h5>
					<div class="index-star-level">
						<c:choose>
							<c:when test="${var.STAR == '5'}">
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item red"></span>
							</c:when>
							<c:when test="${var.STAR == '4'}">
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item grey"></span>
							</c:when>
							<c:when test="${var.STAR == '3'}">
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item grey"></span>
									<span class="miniapp-tag-item grey"></span>
							</c:when>
							<c:when test="${var.STAR == '2'}">
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item grey"></span>
									<span class="miniapp-tag-item grey"></span>
									<span class="miniapp-tag-item grey"></span>
							</c:when>
							<c:when test="${var.STAR == '1'}">
									<span class="miniapp-tag-item red"></span>
									<span class="miniapp-tag-item grey"></span>
									<span class="miniapp-tag-item grey"></span>
									<span class="miniapp-tag-item grey"></span>
									<span class="miniapp-tag-item grey"></span>
							</c:when>
							<c:otherwise>
									<span class="miniapp-tag-item grey"></span>
									<span class="miniapp-tag-item grey"></span>
									<span class="miniapp-tag-item grey"></span>
									<span class="miniapp-tag-item grey"></span>
									<span class="miniapp-tag-item grey"></span>
							</c:otherwise>
						</c:choose>
						
					</div>
					<div class="miniapp-header-tag">
						<c:choose>
							<c:when test="${fn:length(var.LABELS_ARR) <= 3}">
			        			<c:forEach items="${var.LABELS_ARR}" var="item" varStatus="vs">
			        				<span class="miniapp-tag-item">${item.LABLE_NAME }</span>
			        			</c:forEach>
							</c:when>
							<c:otherwise>
			        			<c:forEach items="${var.LABELS_ARR}" begin="0" end="2" var="item" varStatus="vs">
			        			<span class="miniapp-tag-item">${item.LABLE_NAME }</span>
			        			</c:forEach>
			        			 <i class="miniapp-tag-item-i"></i>
							</c:otherwise>
						</c:choose>
					</div>
				</div>
			</div>
			<a class="right">
				打开体验
			</a>
		</li>
	</c:forEach>
			    
	</c:when>
	<c:otherwise>
	</c:otherwise>
	</c:choose>
	 <input type="hidden" id="totalPage" name="totalPage"  value="${page.totalPage }"/>
	 <input type="hidden" id="totalCount" name="totalCount"  value="${search_count}"/>
